package com.ctshk.rpc.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 组织架构
 * </p>
 *
 * @author 谢诗宏
 * @since 2020-12-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_sys_department")
@ApiModel(value="SysDepartment对象", description="组织架构")
public class SysDepartment extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "名称")
    private String title;

    @ApiModelProperty(value = "父级部门")
    private Long parentId;

//    @ApiModelProperty(value = "1 公司	            2 部门	            3 小组")
    @ApiModelProperty(value = "组织类型")
    private Long orgType;

    @ApiModelProperty(value = "优先级")
    private Integer sort;

    @ApiModelProperty(value = "部门编号")
    private String deptNumber;

    @ApiModelProperty(value = "部门编码")
    private String deptCode;

    @ApiModelProperty(value = "业务类型")
    private Long businessTypeId;

    @ApiModelProperty(value = "系统编码")
    private String sysCode;

    @ApiModelProperty(value = "成本中心编码")
    private String costCode;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "状态")
    private int status;

    @ApiModelProperty(value = "删除")
    private int isDeleted;


}
